<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/18
 * Time: 11:27
 */
$names = ['frnak','tom','jack'];
$names[5] = 'jack2';

array_unshift($names,'andy','andy2');
var_dump($names);